#include<iostream>
using namespace std;

class Point {
    private:
        int x,y;
    public:
        Point(int a,int b):x(a),y(b) {
            cout << "construct two parameters" << endl;
        };
        Point(int a);
        Point() {
            cout << "construct default,no parameter" << endl;
        }
};

Point::Point(int a) {
    x = a;
    y = 0;
    cout << "construct one parameter" << endl;
}

int main() {
    Point point;
    Point *a = new Point;
    Point *b = new Point(3,4);
    Point *c = new Point(5);

    int * d = new int;
    *d = 3;
    char *ch = new char;
    *ch = 'c';
    cout << *d << *ch << endl;
    return 0;
}
